package spring.controller.converter;

import org.springframework.stereotype.Component;
import spring.model.Pessoa;
import spring.service.PessoaService;

import javax.inject.Inject;

@Component
public class StringPessoa extends StringEntity<Pessoa> {

	@Inject
	private PessoaService service;


	@Override
	public Pessoa convert(String s) {
		return super.convert(s, service);
	}
}
